package com.teach.javafxclient.controller.base;

import com.teach.javafxclient.Globalvar;
import javafx.fxml.FXML;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.layout.HBox;

/**
 * @author Liang Jianlin
 * @date 2024-04-28 01:18
 */
public class StudentInfoDetailController {
    @FXML
    public Label name;
    @FXML
    public Label birthday;
    @FXML
    public Label source;
    @FXML
    public Label phoneNumber;
    @FXML
    public Label gender;
    @FXML
    public Label email;
    @FXML
    public Label address;
    @FXML
    public Label personalSolution;
    @FXML
    public HBox setInfo;
    @FXML
    public HBox export;

    public void initialize(){
        if(!Globalvar.userRole.equals("ADMIN")){
            System.out.println("yes");
            setInfo.setVisible(false);
            setInfo.setManaged(false);
        }
    }
}
